<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>
    <script>
        let a= new Set([1,3,2,7,1,3,2,7,8,4,5,0,8,4,5,0]);
        console.log(a);

        console.log(a instanceof Array)

        let b =Array.from(a)
        console.log(b instanceof Array)
        console.log(Array.from(a) instanceof Array)

        console.log(a.size)

        let c = a.add("我叫小红") ;
        console.log(c)
        console.log(a)

        let d = c.delete(1)
        console.log(d)
        console.log(a)
        console.log(c)

        let e = a.has(1)
        console.log(e)

        let f = a.has(3)
        console.log(f)

        let g = a.clear()
        console.log(g)
        console.log(a)






        


        // a.size

    </script>
</body>
</html>